package com.exampletest.service;

import com.exampletest.model.Enterprise;
import java.util.List;

public interface EnterpriseService {
    boolean register(Enterprise enterprise);
    Enterprise login(String account, String password);
    List<Enterprise> getAllEnterprises();
    Enterprise getEnterpriseById(Integer id);
    void updateEnterprise(Enterprise enterprise);
    void deleteEnterprise(Integer id);
    List<Enterprise> searchEnterprises(String keyword);
    boolean toggleStatus(Integer id, Integer status);
    Enterprise verifyEnterprise(String account, String password);
}